package com.jt.blog.common.constant;

/**
 * @author : 戴瑞
 * @Description : 图片类型前缀
 * @create : 2018-03-31 10:10
 **/

public enum ImageTypePrefix {

    /**
     *  普通图片地址前缀
     */
    NORMAL("/image","普通图片前缀地址"),

    /**
     * 博客图片地址前缀
     */
    BLOG("/blog/img","博客图片前缀地址");

    private String path;

    private String desc;

    ImageTypePrefix(String path,String desc){
        this.path=path;
        this.desc=desc;
    }

    public String getPath() {
        return path;
    }

    public String getDesc() {
        return desc;
    }

    public static void main(String[] args) {
        System.out.println(ImageTypePrefix.BLOG);
    }
}
